package com.label.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.label.Model.Do.Activity;
import com.label.Model.Do.Condition;
import com.label.Model.Query.ActivityQuery;

import java.util.List;
import java.util.Map;

public interface ActivityService extends IService<Activity> {

    Activity getOneById(ActivityQuery activityQuery);

    List<Activity> getAllActivity();

    List<Activity> getAllByLevel(ActivityQuery activityQuery);

    List<Activity> getAllByName(ActivityQuery activityQuery);

    List<Activity> getAllByUser(String id);

    Boolean addActivity(ActivityQuery activityQuery);

    Boolean updateActivity(ActivityQuery activityQuery);

    Boolean delActivity(ActivityQuery activityQuery);

    List<Map<String,Object>> getActScoreByUser();

    List<Condition> getAllCondition();
}
